// 通过type和header判断要跳转的路径
export function getRedirecTo(type,header) {
  let path;
  if(type === '老板'){
    path = '/boss';
  }else {
    path = '/mengxin';
  }
  if(!header){
    path += 'info'
  }
  return path
}